/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
    {
      path: '/',
      component:()=>import('@/views/dashboard/analysis.vue'),
      meta:{ title:'首页' }
    },
    {
      path: '/login',
      component:()=>import('@/views/user/login.vue'),
      meta:{ title:'登录' }
    },
    {
      path: '/balance',
      component:()=>import('@/views/leave/balance.vue'),
      meta:{ title:'假勤余额' }
    },
    {
      path: '/application',
      component:()=>import('@/views/leave/application.vue'),
      meta:{ title:'请假个人申请' }
    },
    {
      path: '/management',
      component:()=>import('@/views/leave/management.vue'),
      meta:{ title:'假勤管理' }
    },
  ]

/**
 * errorRouter(错误页面路由)
 */
  export const errorRouter = [
{
		path: "/404",
		name: "404",
        component: ()=>import('@/views/exception/404.vue'),
		meta: {
			title: "404页面"
		}
	},
  ]

  /**
   * notFoundRouter(找不到路由)
   */
  export const notFoundRouter = {
      path: '/:catchAll(.*)',
      name: "notFound",
      redirect: { name: "404" }
  };